<%@ page language="java" isELIgnored="false" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>

<html>
    <head>
        <title>参数绑定 Restful风格url</title>
        <style>
            div{
                padding: 10px 10px 0 10px;
            }
        </style>
    </head>
    <body>
        <div>
            <h3>SpringMVC 对Restful风格url的⽀持</h3>
            <fieldset>
                <p>测试：SpringMVC 对Restful⻛格url的⽀持</p>
                <a href="/demo/handle/15">rest_get测试</a>
                <form method="post" action="/demo/handle">
                    <input type="text" name="username"/>
                    <input type="submit" value="提交rest_post请求"/>
                </form>
                <form method="post" action="/demo/handle/15/lisi">
                    <input type="hidden" name="_method" value="put"/>
                    <input type="submit" value="提交rest_put请求"/>
                </form>
                <form method="post" action="/demo/handle/15">
                    <input type="hidden" name="_method" value="delete"/>
                    <input type="submit" value="提交rest_delete请求"/>
                </form>
            </fieldset>
        </div>
    </body>
</html>
